ScxV6Areas.Item Method

Returns a ScxV6Area object from the collection.

Parameters

Remarks

The Item method is used to get an area of interest from the collection. This method is the default method of the interface, and can be omitted if needed.

Example:

The following example written in VB.NET lists all the Areas of Interest in the World area, along with their position in the collection.

Dim Svr As ScxV6DbClient.ScxV6Server

Dim Areas As ScxV6DbClient.ScxV6Areas

' Connect to the server

Svr = New ScxV6DbClient.ScxV6Server()

Svr.Connect("MAIN", "", "")

' Find the area of interest we want to move

Areas = Svr.RootArea.List

Dim Count As Integer

Dim Position As Integer

Count = Areas.Count

For Position = 1 To Count

System.Console.WriteLine("{0} : {1}", Position, Areas(Position).Name)

Next

' Disconnect

Svr.Disconnect()


Disclaimer

ClearSCADA 2017 R3